#ifndef EXTERNS_H_
#define EXTERNS_H_

#if defined(WIN32)
#include <Windows.h>
#elif defined(ANDROID)
#define CALLBACK
#endif

char * CALLBACK PSEgetLibName(void);
unsigned long CALLBACK PSEgetLibType(void);
unsigned long CALLBACK PSEgetLibVersion(void);
long CALLBACK CDRinit(void);
long CALLBACK CDRshutdown(void);
long CALLBACK CDRopen(void);
long CALLBACK CDRclose(void);
long CALLBACK CDRgetTN(unsigned char *);
long CALLBACK CDRgetTD(unsigned char , unsigned char *);
long CALLBACK CDRreadTrack(unsigned char *);
unsigned char * CALLBACK CDRgetBuffer(void);
long CALLBACK CDRconfigure(void);
long CALLBACK CDRtest(void);
void CALLBACK CDRabout(void);
long CALLBACK CDRplay(unsigned char *);
long CALLBACK CDRstop(void);
struct CdrStat {
	unsigned long Type;
	unsigned long Status;
	unsigned char Time[3];
};
long CALLBACK CDRgetStatus(struct CdrStat *);
char* CALLBACK CDRgetDriveLetter(void);
unsigned char* CALLBACK CDRgetBufferSub(void);

#endif
